﻿<ResourceDictionary
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">

    <DataTemplate x:Key="ExampleFileTemplate">
        <Grid>
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="Auto"/>
                <ColumnDefinition Width="*"/>
            </Grid.ColumnDefinitions>
            <Grid Grid.Column="0" Background="{ThemeResource ListViewItemPlaceholderBackgroundThemeBrush}" Margin="20">
                <Image Source="{Binding Image}" 
                                       Width="80" Height="80"
                                       HorizontalAlignment="Center" VerticalAlignment="Center" 
                                       Stretch="Uniform"/>
            </Grid>
            <StackPanel Grid.Column="1" Width="200" Margin="0,20,20,20">
                <TextBlock Text="{Binding Title}" TextWrapping="NoWrap" 
                               Style="{StaticResource BodyTextBlockStyle}"/>
                <TextBlock Text="{Binding Description}" MaxHeight="40" 
                               Foreground="{ThemeResource ApplicationSecondaryForegroundThemeBrush}" 
                               Style="{StaticResource BodyTextBlockStyle}"/>
            </StackPanel>
        </Grid>
    </DataTemplate>
</ResourceDictionary>
